# 多个装饰器

def decc1(fn):
    def inner():
        return "11111-start " + fn() + "11111-end"
    return inner

def decc2(fn):
    def inner():
        return "22222-start " + fn() + "22222-end"
    return inner


# 被装饰的函数
@decc1
@decc2
def test1():
    return "Learning Python"

print(test1()) # 11111-start 22222-start Learning Python22222-end11111-end
"""
先执行decc2
22222-start Learning Python22222
# 再执行decc1
11111-start + (22222-start Learning Python22222) + 11111-end
"""


